<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>添加题目</title>
    <link href="../assets/bootstrap/bootstrap.css" rel="stylesheet">
    <link href="css/AddTopic.css" rel="stylesheet">
    <link href="css/AddReadingTopic.css" rel="stylesheet">
    <link href="../assets/UM/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
    <link rel="stylesheet" href="../assets/UM/third-party/mathquill/mathquill.css"/>

</head>
<body>

<div id="AddTopic">
    <div class="container">
        <div id="reading">
            <p>阅读材料：</p>
            <div class="readingContent"></div>
            <div class="controlButtons">
                <button type="button" class="btn btn-info" id="addItem">添加小题</button>
                <button class="btn btn-info" id="topicSort">排序</button>
                <a class="btn btn-info" id="topicSortSave">确定</a>
                <button class="btn btn-info" id="topicSortCancel" data-toggle="modal"
                   data-target="#TopicManageDetailCancel">取消</button>
                <div class="clear"></div>
            </div>
        </div>
        <div id="TitleDetailAll" class="TitleDetailAll">
        </div>
        <div id="otherQuestions">
            <div id="questionType">
                <div class="select has-feedback"name="select">
                    <span class="glyphicon glyphicon-menu-down form-control-feedback"></span>
                    <input type="text"  value="选择题" data-value="1" readonly>
                    <ul>
                        <li data-value="0">请选择题型</li>
                        <li data-value="1">选择题</li>
                        <li data-value="2">客观填空</li>
                        <li data-value="3">主观填空</li>
                        <li data-value="4">简答题</li>
                    </ul>
                </div>
                <div id="selected">
                <span class="radioItem on">
                    <input type="radio"  name="selectType"  checked="true" class="hiddenClass" id="radioSelect">
                </span>
                    <label for="radioSelect">单选</label>

                <span class="radioItem">
                    <input type="radio"  name="selectType"  class="hiddenClass" id="multiSelect">
                </span>
                    <label for="multiSelect">多选</label>

                <span class="radioItem">
                    <input type="radio" name="selectType"  class="hiddenClass" id="judgSelect">
                </span>
                    <label for="judgSelect">判断题</label>
                </div>
                <div id="selection">
                    <div class="optionsNum">
                        <span>选项数:</span>
                        <button class="reduce">-</button>&nbsp;<input type="number" min="2" max="8" value="4"/>&nbsp;<button class="plus">+</button>
                    </div>
                    <div class="answer">
                        <span> 答案：</span>
                        <div class="options">
                        </div>
                    </div>

                </div>
                <div id="subjectFill">
                    <span>答案输入方式:</span>
                    <div class="options">
                    </div>
                </div>
            </div>
            <div id="upload">
                <div class="jpg">
                <span class="btn fileinput-button">
                    <span>上传答题区图</span>
                    <form id="fileForm">
                        <input type="file" id="file2" name="file2" accept=".jpg,.gif,.png">
                        <input type="hidden" id="jpg_result">
                    </form>
                </span>
                    <span></span>
                    <span class="delFile">&nbsp;</span>
                </div>
                <script type="text/plain" id="myEditor">
                     <p></p>
                </script>
            </div>
        </div>
        <div id="save">
            <button class="btn btn-info">保存</button>
        </div>
        <div class="wait">
            <img src="../img/waiting.gif" alt=""/>
        </div>
    </div>
</div>
<form id="myForm">
    <input type="file" hidden id="uploadPic" contentEditable="false" accept=".jpg ,.png, .gif" style="display: none;"/>
    <input type="text" hidden id="picUrl" contentEditable="false" accept=".jpg ,.png, .gif" />
</form>
<button hidden data-toggle="modal" data-target="#myModal" id="modelClick"></button>
<!-- Modal 取消排序模态框-->
<div class="modal fade" id="TopicManageDetailCancel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-body">
                取消前是否保存修改？
            </div>
            <button type="button" class="btn cancel" data-dismiss="modal">取消</button>
            <button type="button" class="btn reconfirm" data-dismiss="modal">确定</button>
        </div>
    </div>
</div>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">请添加内容</h4>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary reconfirm" data-dismiss="modal">确定</button>
            </div>
        </div>
    </div>
</div>
<script src="../assets/jquery-1.7.2.min.js"></script>
<script src="../common/Common.js"></script>
<script src="../assets/bootstrap/bootstrap.js"></script>
<script src="js/common/Sortable.min.js"></script>
<script src="js/AddTopic.js"></script>
<script src="js/AddReadingTopic.js"></script>
<script type="text/javascript" charset="utf-8" src="../assets/UM/umeditor.js"></script>
<script type="text/javascript" charset="utf-8" src="../assets/UM/umeditor.config.js"></script>
<script type="text/javascript" src="../assets/UM/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="../assets/UM/plugins.js"></script>
<script src="../assets/UM/third-party/mathquill/mathquill.js"></script>
<script src="../assets/FileReader.js"></script>
</body>
</html>